//: Playground - noun: a place where people can play

import UIKit

// 写法1
let infoTuple = ("AY", 23, 188.0)
let name = infoTuple.0
let age = infoTuple.1
let length = name.characters.count // 自动推断出元组元素的类型

// 写法2
let infoTuple1 = (name : "AY", age : 23)
infoTuple1.name

// 写法3
let (haha, heihei, hehe) = ("AY", 23, 188.0)
haha
heihei
hehe

